//the header that save the funtions of plugins
#include "base.h"
#include "dict.h"

extern struct Plan Plans[63];      //store the plans

extern int appcount;
extern uint8 plancount;
extern bool ShouldSports,ShouldDrink,First;
extern time_t nowtime;
extern struct tm * timeinfo;
extern struct time *starttime,*CheckSports,*CheckDrink;

void AddPlugins(char Plugins[]);
bool DetectPlugins(char FirstChar,char Plugins[]);
void EnterPlugins(char FuncChar);

void BaiduSearch();

void ConvertToHex();

//custom function
void DelCurrentChar();
void DoNothing();

void LookOnDict();

//Time Functions
void GetTm();
void GetTime(struct time *ptime);
void PrintTime();

//Plan Function
void AddPlan();
void CheckPlan(struct Plan Plans[]);
void LoadPlan(struct Plan Plans[]);
void Message(char time[], char detail[]);
